package timing.ukulele.flow.extention;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import org.activiti.engine.impl.cfg.IdGenerator;

/**
 * 有序递增的纯数字id
 */
public class IdWorkerGenerator implements IdGenerator {
    @Override
    public String getNextId() {
        return String.valueOf(IdWorker.getId());
    }
}
